#ifndef __SCNS_ESP_AT_UART_H__
#define __SCNS_ESP_AT_UART_H__

#include "ScnsConfig.h"

#if defined(SCNS_ESP_AT_UART_ENABLE) && SCNS_ESP_AT_UART_ENABLE == 1

#include "ScnsYing.h"
#include "ScnsBspEspAtUart.h"

extern ScnsStatus scnsEspAtUartInit(ScnsEspAtUartEnum espN);

extern void scnsEspAtUartErrorCallback(ScnsEspAtUartEnum espN);

extern void scnsEspAtUartReceive(ScnsEspAtUartEnum espN, const uint8 *buf, int32 len);

extern ScnsStatus scnsEspAtUartPathThroughSend(ScnsEspAtUartEnum espN, const uint8 *buf, int32 len);

extern uint8 scnsEspAtUartIsPathThrough(ScnsEspAtUartEnum espN);

extern void scnsEspAtUartSendFinishCallback(ScnsEspAtUartEnum espN);

#endif
#endif
